package cn.senwill.feign;

import cn.senwill.domain.Result;
import com.alibaba.fastjson.JSONObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(name = "stock-service", path = "/api/stock")
public interface StockFeignService {

    @PostMapping(value = "update")
    Result update(JSONObject stockJsonObject);
}
